@commonColor:#f42b3d;
@screen-lg-min:1200px;
@screen-md-min:992px;
@screen-sm-min:768px;

body{
    font-family: "open sans", sans-serif;
}
.header{
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s;
    background-color:rgba(0,0,0,0);
    box-shadow: 0 1px 2px rgba(0,0, 0,0.5); ;

    .navbar{
        font-size: 11px;
        width: 750px;
        margin-bottom: 0;
        border-radius: 0;
        border: none;
        background-color:rgba(0,0,0,0);

        .container{

            .navbar-collapse{
                background-color: #000;
                a{
                    transition: all 0.5s;
                    &:hover{
                        color: @commonColor !important;
                    }
                }
            }
        }
    }

    .navbar-default{
        background-color:rgba(0,0,0,0);

       .navbar-nav>li>a{
            color: #fff;
        }
    }
}

.home{
    width: 100%;
    height: 700px;
    position: relative;
    overflow: hidden;
    background-color: black;
    
   

    .carousel-inner{
        position: relative;
        z-index: 7;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;

        .smokebgc{
            position: absolute;
            top: 0;
            left: 0;
            z-index: 8;
            animation: smokebgc 16s linear infinite;
        }

        .imgbox{    
            width: 750px;
            height: 440px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;

            .imglist{
                position: absolute;
                width: 100%;
                opacity: 0;
                transition: all 0.8s;
                display: flex;
                justify-content: center;
                align-items: center;

                img{
                    width: 750px;
                    height: 440px;
                }

                .row{
                    text-align: center;
                    position: absolute;
                    z-index: 9;
                    color: #f8f8f8;
                    width: 60%;
                    // border: 1px solid red;

                    h2{
                        font-size: 50px;
                        font-weight: 100;
                        margin-bottom: 20px;
                    }

                    span{
                        width: 300px;
                        height: 100px;
                        text-align: center;
                        font-size: 40px;
                        color: @commonColor;
                        padding: 10px 15px;
                        background-color: #f8f8f8;
                    }

                    p{
                        margin-top: 30px;
                    }

                    a{
                        margin-top: 50px;
                        border-radius: 0;
                        color: #f8f8f8;
                        width: 150px;
                        border: 2px solid @commonColor;

                        &:hover{
                            background-color: @commonColor;
                        }
                    }
                }
            }
        }
    }

    .spot{
        position: absolute;
        bottom: 100px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9;
        display: flex;

        li{
            background-color: rgba(0,0,0,0);
            list-style: none;
            width: 15px;
            height: 15px;
            border: 2px solid #fff;
            border-radius: 50%;
            margin: 0 5px;
            transition: all 0.5s;
            cursor: pointer;
        }
    }
}

.about{
    padding: 80px 0;
    background-color: #ecf0f1;

}

.work{
    padding: 80px 0;
    background-color: #1d2025 ;

    .title{
        .title-h2{
            color: #fff;
            font-size: 45px;
        }
        .title-hr{
            background-color: #fff;
        }
        .title-p{
            color: #fff;
        }
    }

    .list{
    
        li{
            padding: 15px;
           
            div{

                i{
                    font-size: 60px;
                    margin: 26px auto 46px auto;
                }
               .bottom-text{
                   position: relative;
                   padding: 30px 0;
                   border-top: 1px solid #f2f2f2;
    
                    .ball{
                        position: absolute;
                        top: 0;
                        left: 50%;
                        transform: translateY(-50%) translateX(-50%);
                        width: 46px;
                        height: 46px;
                        background-color: @commonColor;
                        border-radius: 50%;
                        border: 5px solid #fff;
                        color: #fff;
                        font-size: 16px;
                        font-weight: bold;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                    }
               }
            }
        }

        & li:nth-child(odd) div{
            background-color: #fff;
            color: #262e3b;

            i{
               color: #262e3b;
            }
        }
        & li:nth-child(even)  div{
            background-color: @commonColor;
            color: #FFF;

            i{
                color: #fff;
            }
        }
    }
}

.service{
    padding: 80px 0;
    background-color: #ecf0f1;

    .list{
        li{
            padding: 50px;
        }
    }
}

.portfolio{
    padding: 80px 0;
    background-color: #1d2025 ;

    .title{
        .title-h2{
            color: #fff;
            font-size: 45px;
        }
        .title-hr{
            background-color: #fff;
        }
        .title-p{
            color: #fff;
        }
    }

    .portfolio-imglist{

        .row{
            .item{
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 1% 2%;
                position: relative;

                .imgbox{
                    width: auto;
                    overflow: hidden;
                    position: relative;
                    padding: 0;

                    img{
                        width: 100%;
                        height: 100%;
                        transition: all 0.9s;
                    }

                    .label{
                        width: 100%;
                        color: #fff !important;
                        position: absolute;
                        left: 0;
                        bottom: -50px;
                        z-index: 9;
                        line-height: 15px;
                        border-radius: 0;
                        background-color: @commonColor;
                        padding: 10px 0;
                        transition: 0.3s;

                        a{
                            display: block;
                            text-decoration: none;
                            color: #fff !important;
                        }

                        span{
                            opacity: 0.6;
                        }
                    }

                    &:hover{
                        img{
                            transform: translateY(-30px);
                        }

                        .label{
                            bottom: 0;
                        }
                    }
                }
            }
        }
    }
}

.team{
    padding: 80px 0;
    background-color: #ecf0f1;

    ul{
        margin-top: 50px;

        li{
            padding: 20px;
            text-align: center;

            .team-image{
                position: relative;
                padding: 0;
                img{
                    width: 100%;
                    height: 100%;
                }
                .detail{
                    transition: 0.2s;
                    opacity: 0;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background: rgba(255, 42, 62, 0.9);

                    h4{
                        text-transform: uppercase;
                        font-size: 18px;
                        color: #262e3b;
                    }

                    p{
                        color: #fff;
                        font-size: 14px;
                        width: 90%;
                        margin-top: 30px;
                        line-height: 30px;
                    }
                }
            }
            
            .team-descr{
                line-height: 30px;
                text-transform: uppercase;
                letter-spacing: 2px;
                margin-top: 20px;

                .team-name{
                    color: #777;
                    font-size: 14px;
                }
                .team-role{
                    font-size: 12px;
                    color: rgb(199, 199, 199);
                }
            }

            &:hover{
                .team-image{
                    .detail{
                        opacity: 1;
                    }
                }
            }
        }
    }
}

.blog{
    padding: 80px 0;
    background-color: #fff;

    .container-fluid{
        margin-top: 60px;

        .blog-item{
            padding: 38px;
            background:#22252a none repeat scroll 0 0;
            h4{
                line-height: 30px;
                color: #fff;
                text-transform: uppercase;
                font-size: 18px;
                transition: all 0.2s;

                &:hover{
                    cursor: pointer;
                    color: @commonColor;
                }
            }
            div{
                margin: 12px 0;
                color: #777;

                a{
                    text-decoration: none;
                    font-size: 12px;
                    color: @commonColor;
                }
            }
            p{
               line-height: 30px;
               font-size: 14px;
               color: #777;
               margin: 12px 0;
            }
        }
    }
}

.contact{
    padding: 80px 0;
    background-color: #ecf0f1;

    .container{
        margin-top: 30px;

        .row{

            .contact-left,.contact-right{
                padding: 10px;
            }


            .sub-title{
                color: #262E3B;
                font-size: 18px;
                text-transform: uppercase;
                margin: 0 0 18px;
            }

            .contact-left{

                .message{
                      background-color: #fff;
                      padding: 50px;

                      input{
                          width: 100%;
                          border: none;
                          box-shadow: inset 0 -1px 0 #ddd;
                          border-radius: 0;
                          padding: 12px 0;
                          margin: 12px 0;
                          outline: none;
                          transition: all 0.5s;

                          &:focus{
                              box-shadow: inset 0 -2px 0 @commonColor;
                          }

                          &::placeholder{
                              color: #ddd;
                          }
                      }

                      textarea{
                          width: 100%;
                          border: none;
                          border-radius: 0;
                          padding: 12px 0;
                          margin: 12px 0;
                          outline: none;
                          height: 200px;
                          box-shadow: inset 0 -1px 0 #ddd;
                          background-color: rgba(0,0,0,0);

                          &:focus{
                            box-shadow: inset 0 -2px 0 @commonColor;
                          }

                          &::placeholder{
                              color: #ddd;
                          }
                      }

                      .btn{
                          width: 160px;
                          height: 50px;
                          border-radius: 0;
                          border: 2px solid @commonColor;
                          text-transform: uppercase;
                          font-size: 14px;
                          color: #262E3B;

                          &:hover{
                              color: #fff;
                              font-weight: bold;
                              background-color: @commonColor;
                          }
                      }
                }
            }

            .contact-right{
                   
                .here{
                    background-color: #d72a3e ;
                    padding: 50px;

                    .contact-info{

                            font-size: 14px;
                            color: #fff;

                        .contact-list{


                            li{
                                line-height: 40px;
                                padding: 0 0 0 30px;
                                position: relative;

                                i{
                                    position: absolute;
                                    color: #5f121a;
                                    left: 0;
                                    top: 11px;
                                    font-size: 18px;
                                    margin-right: 12px;
                                }
                            }

                            .contact-list-title{
                                font-weight: bold;
                            }
                        }
                    }
                }
            }
        }
    }
}

.footer{
    padding: 80px 0;
    background-color: #1D2025 ;

    h3{
        font-size: 24px;
        color: #fff;
        padding: 20px 0;
        margin: 20px 0;
        position: relative;

        &:after{
            content: '';
            display: block;
            width: 60px;
            height: 2px;
            background-color: @commonColor;
            position:absolute;
            bottom: 0;
        }
    }

    .menu{

        li{
            line-height: 33px;
            font-size: 14px;
            position: relative;
            text-indent: 20px;

            &::before{
                display: flex;
                content: '';
                width: 5px;
                height: 5px;
                border-radius: 50%;
                position: absolute;
                top: 50%;
                background-color: #72757c;
                transform: translateY(-50%);
            }

           a{
              color: #72757c;
              text-decoration: none;

              &:hover{
                  color: #fff;
              }
           }
        }
    }
}

.footer-bottom{
    padding: 80px 0;
    background-color: #16191e ;

    .icon-list{
        margin: 0;

        li{
            width: 33px;
            height: 33px;

            &:hover{
                
            border: 1px solid @commonColor;
            background-color: rgba(0,0,0,0);
            }
        }
    }

    >div{
        text-align: center;
        padding: 20px 0;
        font-size: 14px;
        color: #3e4148;

        span{
            color: @commonColor;

            &:hover{
                color: #262E3B;
            }
        }
    }
}








@keyframes smokebgc{
    100%{
        left: -40%;
    }
}

@media (max-width: @screen-sm-min){

}

@media (min-width: @screen-sm-min) { 
 .header{
     .navbar{
        width: 100%;

        .container{
            .navbar-collapse{
                background-color: rgba(0,0,0,0);
            }
        }   
     }
  }

 .home{
    .carousel-inner{
        .imgbox{
            width: 1920px;
            height: 1080px;

            .imglist{
                img{
                    width: 1920px;
                    height: 1080px;
                }
            }
        }
    }

    .spot{
        bottom:50px
    }
  }
}

@media (min-width:@screen-md-min){
    .list{
        li{
            margin-top: 0;
        }
    }
}

